7594d3835702fac6dc8c970f0adf93a4264e8fd7,src/cn/edu/buaa/crypto/encryption/hibe/bb04/serialization/HIBEBB04SerializationFactory.java,HIBEBB04SerializationFactory,publicKeyParametersDeserialization,#PairingParameters#Element#,152
Before Change
if (node.getNodeName().equals(TAG_PK_G)) {
//Set g
String gString = node.getFirstChild().getNodeValue();
g = pairing.getG1().newElementFromBytes(Hex.decode(gString));
} else if (node.getNodeName().equals(TAG_PK_G1)) {
//Set g1
String g1String = node.getFirstChild().getNodeValue();
After Change
if (node.getNodeName().equals(TAG_PK_G)) {
//Set g
String gString = node.getFirstChild().getNodeValue();
g = pairing.getG1().newElementFromBytes(Hex.decode(gString)).getImmutable();
} else if (node.getNodeName().equals(TAG_PK_G1)) {
//Set g1
String g1String = node.getFirstChild().getNodeValue();